/**
 * @mbggenerated
 * @author kehui
 */
package ps.guan.pojo;

import java.util.Date;

public class User {
    /**
     * user.id
     * 
     * BIGINT(20)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * user.user_name
     * 用户名
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String userName;

    /**
     * user.phone
     * 手机号
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String phone;

    /**
     * user.password
     * 密码
     * VARCHAR(200)
     *
     * @mbggenerated
     */
    private String password;

    /**
     * user.user_type
     * 0主账号  1子账号
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer userType;

    /**
     * user.company_id
     * 公司id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long companyId;

    /**
     * user.type
     * 1普通用户 5后台管理
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * user.status
     * 0正常使用 -1删除
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * user.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * user.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * user.attribute
     * 
     * VARCHAR(1000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * user.portrait
     * 用户头像
     * VARCHAR(1000)
     *
     * @mbggenerated
     */
    private String portrait;

    /**
     * user.counts
     * 使用次数
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer counts;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public String getUserName() {
        return userName;
    }

    /* @mbggenerated */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /* @mbggenerated */
    public String getPhone() {
        return phone;
    }

    /* @mbggenerated */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /* @mbggenerated */
    public String getPassword() {
        return password;
    }

    /* @mbggenerated */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /* @mbggenerated */
    public Integer getUserType() {
        return userType;
    }

    /* @mbggenerated */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /* @mbggenerated */
    public Long getCompanyId() {
        return companyId;
    }

    /* @mbggenerated */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public String getPortrait() {
        return portrait;
    }

    /* @mbggenerated */
    public void setPortrait(String portrait) {
        this.portrait = portrait == null ? null : portrait.trim();
    }

    /* @mbggenerated */
    public Integer getCounts() {
        return counts;
    }

    /* @mbggenerated */
    public void setCounts(Integer counts) {
        this.counts = counts;
    }
}